package calendar;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

public class CalendarInForm {
	
	CalendarMyba dao;
	
	public void setDao(CalendarMyba dao) {
		this.dao = dao;
	}
	
	@RequestMapping("/CalInForm.cal")
	public ModelAndView insertForm(CalendarVo cv){
		ModelAndView mav = new ModelAndView();
		mav.addObject("cv", cv);
		mav.setViewName("/homepage/index.jsp?inc_content=./calSpring/calendar_write.jsp");
		return mav;
	}
	
}
